<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
    <meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="<c:url value="/css/application.css" />">
    <link rel="stylesheet" type="text/css" href="<c:url value="/css/shop_main.css" />">
    <link rel="stylesheet" type="text/css" href="<c:url value="/css/listdata.css"></c:url>">
    <link rel="stylesheet" type="text/css" href="<c:url value="/css/form.css"></c:url>">
    
    <script type="text/javascript">
    function logout() {
			if(confirm("您真的要离开当当网吗?")) {
				location.href="<c:url value="/customer?act=logout"/>";
			 }
	       }
    
    </script>

  </head>
  
  <body>
      <DIV class=head_container>
       <DIV class=head_welcome  >
			<SPAN class=head_toutext id=nickname > 
				您好,${loginedCustomer.customerName} 
    			[<SPAN onclick="logout();" style="cursor:hand;color:green">退出系统</SPAN>]
			</SPAN>
			<DIV class=little_navi>
				<FORM id=bootpagetopSearch name=bootpagetopSearch
					action="" method=get>
					<DIV class=little_n> 
						| <A href="<c:url value="/myDD?act=showMyDD" />" target=mydangdang name=mydangdang>我的当当</A> 
					</DIV>
				</FORM>
			</DIV>
			<DIV class="cart gray4012">
				<A href="<c:url value="/shoppingcart?act=showShoppingCart" />">购物车</A>
			</DIV>
			<P class=welcome_p id=nickname></P>
    	</DIV>
		<DIV class=head_head_list >
			<DIV class=head_head_list_left>
				<SPAN class=head_logo> 
					<A href="<c:url value="/workflow?act=mainscreen" />" name=backtobook>
						<IMG src="<c:url value="/pics/front/book_logo.gif" />"> 
					</A> 
				</SPAN>
			</DIV>
			<DIV class=head_head_list_right>
				<DIV class=head_lianjie>
					<IMG class=head_lianjie1 src="<c:url value="/pics/front/bg_book.gif" />">
					<A href="<c:url value="/workflow?act=mainscreen" />" name=backtobook>
					   <IMG src="<c:url value="/pics/front/book_dangdang.gif" />" border=0>
				    </A>
				</DIV>
			</DIV>
		</DIV>		    	

    <!--菜单区  -->

    <DIV class=list>
        <DIV class=list_left>
           <font size="4" face="arial">我的当当</font>
           <DIV>
              <ul>
                  <li>
                      <a href="<c:url value="/myDD?act=CustOrder"/>" target="mainFrame">订单列表</a>
                  </li>
                  <li>
                      <a href="<c:url value="/myDD?act=toupdateCustomer"/>" target="mainFrame">编辑资料</a>
                  </li>
                  <li>
                      <a href="<c:url value="/myDD?act=CustComment"/>" target="mainFrame">个人评论列表</a>
                  </li>
                  <li>
                      <a href="<c:url value="/tempstore?act=loadall"/>" target="mainFrame">我的暂存架</a>
                  </li>
              </ul>
           </DIV>
        </DIV>
    </DIV>

    <!-- 主区域 -->
    <div style="float:left;">
             <iframe id="mainFrame"
                     name="mainFrame"
                     src="#"
                     frameborder="0"
                     width="100%"
	                 height="840px"
	                 style="margin:0px;padding:0px"  scrolling="no">    
             </iframe>
    </div>
   </DIV> 
  </body>
</html>
